home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / query_mud_port < prev    next >
Text File  |  2001-04-23  |  776b  |  23 lines

  1. SYNOPSIS
  2.         int query_mud_port(void)
  3.         int query_mud_port(object user)
  4.         int query_mud_port(int num)
  5.  
  6. DESCRIPTION
  7.         Returns the port number the parser uses for user connections.
  8.  
  9.         If no argument is given, the port for this_player() is
  10.         returned. If this_player() is not existing or not interactive,
  11.         the first port number open for connections is returned.
  12.  
  13.         If an user object is given, the port used for its connection
  14.         is returned.
  15.         If a positive number is given, the <num>th port number the
  16.         parser uses for connections is returned (given that there are
  17.         that many ports).
  18.         If -1 is given, the number of ports open for connections is
  19.         returned.
  20.  
  21. SEE ALSO
  22.         query_udp_port(E)
  23.